package com.zhang.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Employee)实体类
 *
 * @author makejava
 * @since 2021-06-24 13:58:05
 */
public class Employee implements Serializable {
    private static final long serialVersionUID = 982972492524058260L;
    /**
     * 主键id
     */
    private Long eid;
    /**
     * 姓名
     */
    private String name;
    /**
     * 性别
     */
    private String sex;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 邮箱
     */
    private String emall;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 入职日期
     */
    private Date inTime;
    /**
     * 导师id
     */
    private Long tid;
    /**
     * 员工所在部门id
     */
    private String departId;
    /**
     * 是否更换导师:0、1
     */
    private Integer isUpdate;
    /**
     * 员工转正状态:0试用期、1正式员工
     */
    private Integer isOfficial;
    /**
     * 角色：0经理、1部门副总、2部门主管、3部门人事、4部门导师、5新员工
     */
    private Integer isDard;
    /**
     * 删除状态：0保存，1删除
     */
    private Integer isDel;

    /**
     * 导师
     */
    private Employee teacher;

    /**
     * 培训计划
     */
    private Cultivate cultivate;



    public Long getEid() {
        return eid;
    }

    public void setEid(Long eid) {
        this.eid = eid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getEmall() {
        return emall;
    }

    public void setEmall(String emall) {
        this.emall = emall;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public String getDepartId() {
        return departId;
    }

    public void setDepartId(String departId) {
        this.departId = departId;
    }

    public Integer getIsUpdate() {
        return isUpdate;
    }

    public void setIsUpdate(Integer isUpdate) {
        this.isUpdate = isUpdate;
    }

    public Integer getIsOfficial() {
        return isOfficial;
    }

    public void setIsOfficial(Integer isOfficial) {
        this.isOfficial = isOfficial;
    }

    public Integer getIsDard() {
        return isDard;
    }

    public void setIsDard(Integer isDard) {
        this.isDard = isDard;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Employee getTeacher() {
        return teacher;
    }

    public void setTeacher(Employee teacher) {
        this.teacher = teacher;
    }

    public Cultivate getCultivate() {
        return cultivate;
    }

    public void setCultivate(Cultivate cultivate) {
        this.cultivate = cultivate;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "eid=" + eid +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", emall='" + emall + '\'' +
                ", phone='" + phone + '\'' +
                ", inTime=" + inTime +
                ", tid=" + tid +
                ", departId='" + departId + '\'' +
                ", isUpdate=" + isUpdate +
                ", isOfficial=" + isOfficial +
                ", isDard=" + isDard +
                ", isDel=" + isDel +
                '}';
    }
}
